package org.example.news_check.Pojo;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

public class Communicate implements Serializable {

    private Integer id;


    private String content;


    private LocalDateTime createTime;


    private Integer pid;


    private Integer userId;

    private Integer replyUserId;

    private  Integer  articleId;


    private List<Communicate> children;


    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getReplyUserId() {
        return replyUserId;
    }

    public void setReplyUserId(Integer replyUserId) {
        this.replyUserId = replyUserId;
    }

    public List<Communicate> getChildren() {
        return children;
    }

    public void setChildren(List<Communicate> children) {
        this.children = children;
    }

    public Integer getArticleId() {
        return articleId;
    }

    public void setArticleId(Integer articleId) {
        this.articleId = articleId;
    }
}
